package com.tencent.iov.cowin.befsale.clue.service.clue;

import com.tencent.iov.cowin.befsale.clue.controller.clue.vo.request.ClueFollowUpRequest;
import com.tencent.iov.cowin.befsale.clue.controller.cus.vo.response.CustomerResponse;
import com.tencent.iov.cowin.befsale.clue.dao.kafka.response.ScrmLead;
import com.tencent.iov.cowin.befsale.clue.domain.clue.po.Clue;
import com.tencent.iov.cowin.befsale.clue.domain.clue.po.ClueIntentionVehicle;

/**
 * 线索异步埋点
 * @Author xiamu
 */
public interface SyncClueBuriedPintService {

    /**
     * 同步的跟进状态埋点
     * @param lead 请求参数
     * @param clue 线索信息
     * @param clueVeh 线索意向信息
     */
    void clueBuriedPint(ScrmLead lead, Clue clue, ClueIntentionVehicle clueVeh);

    /**
     * 新建客户埋点
     * @param request 请求参数
     * @param clue 线索信息
     * @param customerResponse crm的线索状态
     */
    void addClueBuriedPint(ClueFollowUpRequest request, Clue clue, CustomerResponse customerResponse);
}
